@import "../config.scss";

.index-container {
  background: #f0f2f5;
  // banner
  .container-banner {
    height: 920px;
    background-color: #000;
    background-image: url(../assets/img/banner-main.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 920px;

    .banner-center {
      width: 1200px;
      margin: 0 auto;
      padding-top: 280px;

      .banner-title {
        font-size: 40px;
        color: #fff;
        font-weight: 600;
      }

      .banner-countdown-title {
        font-size: 18px;
        line-height: 25px;
        margin-top: 60px;
        color: rgba(255, 255, 255, 0.6);
      }

      .banner-countdown-box {
        height: 98px;
        margin-top: 10px;
        font-size: 0;

        .count-item {
          display: inline-block;
          width: 94px;
          height: 98px;
          vertical-align: top;
          margin-left: 20px;
          &:first-child {
            margin-left: 0;
          }
          span {
            position: relative;
            display: inline-block;
            vertical-align: top;
            width: 44px;
            text-align: center;
            font-size: 58px;
            color: #000;
            font-weight: 600;
            line-height: 66px;
            background: #fff;
            margin-left: 4px;
            &:first-child {
              margin-left: 0;
            }
            &:before {
              position: absolute;
              top: 0;
              left: 0;
              content: "";
              display: block;
              width: 44px;
              height: 33px;
              background: linear-gradient(
                180deg,
                rgba(0, 0, 0, 0) 1%,
                rgba(0, 0, 0, 0.16) 100%
              );
            }
          }
          h1 {
            font-size: 18px;
            color: #fff;
            text-align: center;
            margin-top: 6px;
          }
        }
      }

      .banner-buttons {
        margin-top: 60px;
        font-size: 0;
        button {
          display: inline-block;
          border: 1px solid #fff;
          width: 150px;
          height: 44px;
          vertical-align: top;
          font-size: 22px;
          color: #fff;
          margin-right: 20px;
          font-weight: 600;
          letter-spacing: 2px;
          text-indent: 2px;
          background-color: transparent;
          cursor: pointer;
          &:first-child {
            background-color: $defaultColor;
            border: none;
          }
        }
      }
    }
  }

  // 我们要做什么
  .do-what {
    width: 1200px;
    padding-bottom: 120px;
    margin: 0 auto;
    padding-top: 120px;

    .what-table {
      display: table;
      height: 460px;
      font-size: 0;

      .table-left,
      .table-right {
        display: inline-block;
        vertical-align: top;
      }

      .table-left {
        width: 440px;
        // background: yellow;
        .title {
          position: relative;
          font-size: 32px;
          color: #333;
          font-weight: 600;
          img {
            height: 52px;
            margin-top: 62px;
            transform: translate(-140px, 28px);
          }
        }
        .content {
          font-size: 18px;
          color: #666;
          margin-top: 40px;
          font-weight: 400;
          line-height: 28px;
          p {
            margin-top: 20px;
            width: 360px;
          }
        }
      }

      .table-right {
        position: relative;
        width: 750px;
        // background: $defaultColor;
        video {
          width: 100%;
        }
        .play-button {
          position: absolute;
          right: 0;
          bottom: 0;
          width: 80px;
          height: 80px;
          background: $defaultColor;
          cursor: pointer;
          &:after {
            content: "";
            display: block;
            width: 0;
            height: 0;
            margin-top: 20px;
            margin-left: 28px;
            border-top: 20px solid transparent;
            border-left: 30px solid #fff;
            border-bottom: 20px solid transparent;
          }
        }
      }
    }

    .spell-info {
      margin-top: 60px;
      font-size: 0;

      .info-item {
        display: inline-block;
        vertical-align: top;
        width: 400px;
        font-size: 18px;
        color: #666;
        text-align: center;
        img {
          width: 120px;
        }
        .label {
          margin: 34px auto 20px;
          font-size: 26px;
          color: #333;
        }
        &:first-child {
          transform: translateX(-40px);
        }
        &:last-child {
          transform: translateX(40px);
        }
      }
    }
  }

  //数字证券
  .index-number-card {
    background: #f6f6f6;
    padding-bottom: 120px;
    padding-top: 100px;
    text-align: center;
    .title {
      img {
        height: 51px;
        margin: 0 auto;
        display: block;
      }
      span {
        font-size: 32px;
        color: #333;
        display: block;
        transform: translateY(-27px);
      }
    }

    .title-info {
      font-size: 18px;
      color: #666;
      margin-top: 13px;
      line-height: 28px;
    }

    .card-center-box {
      width: 1200px;
      margin: 20px auto 0;
      font-size: 0;

      .card-item {
        display: inline-block;
        vertical-align: top;
        width: 400px;
        font-size: 18px;
        color: #666;
        font-weight: 400;
        text-align: center;
        margin-top: 80px;
        img {
          width: 90px;
        }
        .label {
          margin: 34px auto 20px;
          font-size: 26px;
          color: #333;
        }
      }
    }
  }

  // token说明
  .token-info {
    height: 652px;
    background: linear-gradient(
      90deg,
      rgba(31, 41, 74, 1) 0%,
      rgba(0, 0, 0, 1) 100%
    );

    .token-center-box {
      position: relative;
      width: 1200px;
      margin: 0 auto;

      .token-bg {
        position: absolute;
        top: 60px;
        width: 1010px;
        display: block;
        left: -350px;
        z-index: 0;
      }

      .token-information {
        position: absolute;
        top: 120px;
        left: 460px;
        .title {
          img {
            height: 52px;
            display: block;
          }
          span {
            display: block;
            color: #fff;
            font-size: 32px;
            font-weight: 600;
            transform: translateY(-27px);
          }
        }

        .token-content {
          font-size: 18px;
          color: 18px;
          margin-top: 33px;
          color: #fff;
          p {
            margin-bottom: 10px;
            a {
              color: $defaultColor;
            }
          }
          ul {
            list-style: none;
            margin-bottom: 10px;
            li:before {
              content: "";
              display: inline-block;
              vertical-align: middle;
              width: 10px;
              height: 10px;
              border-radius: 50%;
              background: $defaultColor;
              margin-right: 8px;
            }
          }
        }
      }
    }
  }

  // 通证分发
  .card-svg-info {
    height: 890px;
    background: #f0f2f5;
    padding-top: 100px;

    .svg-box {
      width: 1200px;
      height: 240px;
      margin: 0 auto;

      .svg-item {
        float: left;
        width: 50%;
        height: inherit;

        .svg-circle {
          float: left;
          width: 230px;
          height: 230px;
          margin-top: 5px;
        }

        .svg-info {
          float: left;
          margin-left: 50px;
          margin-top: 5px;

          .title {
            font-size: 26px;
            font-weight: 500;
            color: #00173d;
          }
          .line {
            width: 240px;
            height: 22px;
            margin-top: 4px;
            border-top-left-radius: 22px;
            border-bottom-left-radius: 22px;
            padding-left: 10px;
            background: linear-gradient(
              270deg,
              rgba(255, 255, 255, 0) 0%,
              rgba(54, 63, 216, 1) 100%
            );
            font-size: 12px;
            color: #fff;
            line-height: 22px;
          }
          ul {
            list-style: none;
            margin-top: 24px;

            li {
              font-size: 18px;
              color: #00173d;
              margin-top: 4px;
              transition: all ease 300ms;
              em {
                font-style: normal;
                display: inline-block;
                font-weight: 600;
                width: 70px;
                .circle {
                  width: 10px;
                  height: 10px;
                  border-radius: 50%;
                  display: inline-block;
                  vertical-align: middle;
                }
              }
              span {
                color: #7f90ad;
                transition: color ease 300ms;
              }
            }

            .active {
              margin-left: -2px;
              span {
                color: #00173d;
              }
            }
          }
        }
      }
    }
    .card-info {
      width: 1200px;
      margin: 50px auto 0;
      font-size: 0;
      .card-item {
        display: inline-block;
        vertical-align: top;
        width: 250px;
        height: 90px;
        font-size: 18px;
        border: 1px solid #9cafc3;
        margin: 40px 0 0 66px;
        &:nth-child(4n-3) {
          margin-left: 0;
        }
        .center-content {
          width: 200px;
          height: 90px;
          margin: -1px auto 0;
          background: #f0f2f5;
          padding-top: 16px;
          color: #8091ae;
          span {
            display: block;
            text-align: center;
            font-weight: 400;
            &:last-child {
              font-size: 22px;
              font-weight: 500;
              white-space: nowrap;
            }
          }
        }
        &:nth-child(11),
        &:nth-child(12) {
          span:last-child {
            transform: translateX(-15px);
          }
        }
      }
    }
  }

  // 路线图
  .road-map {
    min-width: 1200px;
    height: 1170px;
    text-align: center;
    background-image: url("../assets/img/roadMapBg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    img {
      height: 52px;
      margin-top: 100px;
    }
    h1 {
      font-size: 32px;
      color: #fff;
      font-weight: 600;
      transform: translateY(-27px);
    }
    .year {
      font-size: 26px;
      font-weight: 600;
      margin-top: 43px;
      color: $defaultColor;
    }
    .tree-line {
      width: 6px;
      height: 680px;
      margin: 20px auto 0;
      background: $defaultColor;
      padding-top: 40px;

      .tree-node {
        position: relative;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #fff;
        margin-left: -6px;
        margin-top: 160px;
        &:first-child {
          margin-top: 0;
        }
        &:before {
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          left: -100px;
          content: "";
          display: block;
          width: 100px;
          height: 4px;
          background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0) 100%
          );
          opacity: 0.4;
        }
        &:nth-child(2n) {
          &:before {
            left: 18px;
            background: linear-gradient(
              90deg,
              rgba(255, 255, 255, 0) 0%,
              rgba(255, 255, 255, 1) 110%
            );
          }
          .node-content {
            left: 118px;
            border-right: none;
            border-left: 8px solid $defaultColor;
            padding-left: 32px;
          }
        }

        .node-content {
          position: absolute;
          left: -520px;
          top: 50%;
          transform: translateY(-50%);
          width: 420px;
          min-height: 200px;
          background: #fff;
          padding: 40px;
          overflow: hidden;
          text-align: left;
          border-right: 8px solid $defaultColor;
          .node-title {
            font-size: 22px;
            color: #333;
            span {
              color: $defaultColor;
            }
          }
          .node-info {
            font-size: 18px;
            color: #666;
            margin-top: 20px;
          }
        }
      }
    }

    .footer {
      @extend .year;
      margin-top: 20px;
    }
    .footer-text {
      margin-top: 8px;
      font-size: 18px;
      color: #fff;
      font-weight: 400;
      p {
        margin-bottom: 2px;
        em {
          color: #ff0000;
          font-size: 26px;
          margin-right: 6px;
          vertical-align: middle;
        }
      }
    }
  }

  // 常见问题
  .question-info {
    padding-bottom: 120px;
    background-color: #f0f2f5;
    text-align: center;

    .textBg {
      height: 52px;
      margin-top: 115px;
    }
    h1 {
      font-size: 32px;
      color: #333;
      font-weight: 600;
      transform: translateY(-27px);
    }

    .question-item {
      width: 1200px;
      background: #fff;
      margin: 20px auto 0;
      padding: 0 46px 0 30px;
      text-align: left;
      cursor: pointer;
      .item-title {
        height: 68px;
        line-height: 68px;
        font-size: 20px;
        color: #666;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;

        img {
          width: 16px;
          float: right;
          margin-top: 26px;
        }

        .reduce {
          margin-top: 36px;
        }
      }
      .item-content {
        border-top: 1px solid #e7e7e7;
        padding: 38px 0 40px 0;
        font-size: 16px;
        color: #666;
        font-weight: 400;
        line-height: 28px;
        animation: opacity ease-out 800ms;
      }

      @keyframes opacity {
        from {
          opacity: 0;
        }
        to {
          opacity: 1;
        }
      }
    }
  }

  // 联系我们
  .contact-us {
    height: 837px;
    background-image: url(../assets/img/contactUs.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-width: 1200px;
    text-align: center;

    img {
      height: 52px;
      margin-top: 100px;
    }

    h1 {
      font-size: 32px;
      color: #fff;
      font-weight: 600;
      transform: translateY(-27px);
    }

    .input-box {
      margin: 30px auto 0;
      font-size: 0;

      input {
        display: inline-block;
        vertical-align: top;
        font-size: 18px;
        color: #333;
        width: 400px;
        height: 45px;
        outline: none;
        border: none;
        padding-left: 20px;
        &:last-child {
          margin-left: 60px;
        }
      }
    }

    textarea {
      display: block;
      width: 860px;
      height: 180px;
      margin: 50px auto 0;
      font-size: 18px;
      color: #333;
      padding: 16px 20px;
      border: none;
      outline: none;
    }

    ::-webkit-input-placeholder {
      color: #bbb;
    }

    ::-moz-placeholder {
      color: #bbb;
    }

    ::-ms-input-placeholder {
      color: #bbb;
    }

    button {
      display: block;
      width: 150px;
      height: 44px;
      background: $defaultColor;
      color: #fff;
      font-size: 22px;
      font-weight: 600;
      outline: none;
      border: none;
      margin: 50px auto 0;
      cursor: pointer;
      &:active {
        opacity: 0.8;
      }
    }
  }

  // 底部栏
  .footer-content {
    height: 214px;
    background: #000;
    color: #fff;
    .center-box {
      width: 1200px;
      margin: 0 auto;

      .footer-title {
        font-size: 18px;
        padding-top: 60px;
        font-weight: 400;
      }

      .footer-info {
        font-size: 0;

        .icons,
        .copy {
          display: inline-block;
          vertical-align: middle;
        }

        .icons {
          width: 1000px;
          margin-top: 30px;
          a {
            margin-right: 10px;
          }
          img {
            width: 30px;
          }
        }
        .copy {
          font-size: 18px;
          font-weight: 600;
        }
      }
    }
  }
}
